

<!DOCTYPE html>
<html lang="zh_CN" data-default-color-scheme=auto>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/fx-blog/img/ChenCat.png">
  <link rel="icon" href="/fx-blog/img/ChenCat.png">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="author" content="Ray_Hughes">
  <meta name="keywords" content="">
  
    <meta name="description" content="个人博客API接口简介:个人博客API接口 HOST:http:&#x2F;&#x2F;s2.mcstory.cc:33905 Version:版本号:3.8.7 [TOC] 内容管理新增内容管理接口地址:&#x2F;system&#x2F;info 请求方式:POST 请求数据类型:application&#x2F;x-www-form-urlencoded,application&#x2F;json 响应数据类型:*&#x2F;* 接口描述: 请求示例: 123">
<meta property="og:type" content="article">
<meta property="og:title" content="枫溪的山谷">
<meta property="og:url" content="https://ray_hughes.gitee.io/fx-blog/2024/04/16/%E5%8D%9A%E5%AE%A2API/index.html">
<meta property="og:site_name" content="枫溪的山谷">
<meta property="og:description" content="个人博客API接口简介:个人博客API接口 HOST:http:&#x2F;&#x2F;s2.mcstory.cc:33905 Version:版本号:3.8.7 [TOC] 内容管理新增内容管理接口地址:&#x2F;system&#x2F;info 请求方式:POST 请求数据类型:application&#x2F;x-www-form-urlencoded,application&#x2F;json 响应数据类型:*&#x2F;* 接口描述: 请求示例: 123">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2024-04-16T03:49:54.997Z">
<meta property="article:modified_time" content="2024-04-16T03:49:40.729Z">
<meta property="article:author" content="Ray_Hughes">
<meta name="twitter:card" content="summary_large_image">
  
  
  
  <title>枫溪的山谷</title>

  <link  rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />



  <link  rel="stylesheet" href="https://lib.baomitu.com/github-markdown-css/4.0.0/github-markdown.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/hint.css/2.7.0/hint.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.css" />



<!-- 主题依赖的图标库，不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">


<link  rel="stylesheet" href="/fx-blog/css/main.css" />


  <link id="highlight-css" rel="stylesheet" href="/fx-blog/css/highlight.css" />
  
    <link id="highlight-css-dark" rel="stylesheet" href="/fx-blog/css/highlight-dark.css" />
  




  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    Fluid.ctx = Object.assign({}, Fluid.ctx)
    var CONFIG = {"hostname":"ray_hughes.gitee.io","root":"/fx-blog/","version":"1.9.5-a","typing":{"enable":true,"typeSpeed":60,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"follow_dnt":true,"baidu":null,"google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/fx-blog/local-search.xml","include_content_in_search":true};

    if (CONFIG.web_analytics.follow_dnt) {
      var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
      Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
    }
  </script>
  <script  src="/fx-blog/js/utils.js" ></script>
  <script  src="/fx-blog/js/color-schema.js" ></script>
  


  
<meta name="generator" content="Hexo 7.0.0-rc2"></head>


<body>
  

  <header>
    

<div class="header-inner" style="height: 70vh;">
  <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand" href="/fx-blog/">
      <strong>枫溪的山谷</strong>
    </a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/fx-blog/">
                <i class="iconfont icon-home-fill"></i>
                <span>主页</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/fx-blog/categories/%E5%BC%80%E5%8F%91/">
                <i class="iconfont icon-code"></i>
                <span>开发心得</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/fx-blog/categories/%E6%8F%92%E4%BB%B6/">
                <i class="iconfont icon-th-large"></i>
                <span>插件</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/fx-blog/archives/">
                <i class="iconfont icon-archive-fill"></i>
                <span>归档</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/fx-blog/categories/">
                <i class="iconfont icon-category-fill"></i>
                <span>分类</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" target="_blank" rel="noopener" href="http://maplefx.top:6520/fastsave">
                <i class="iconfont icon-plan"></i>
                <span>资源站</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/fx-blog/about/">
                <i class="iconfont icon-user-fill"></i>
                <span>关于</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/fx-blog/links/">
                <i class="iconfont icon-link-fill"></i>
                <span>友链</span>
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
              <i class="iconfont icon-search"></i>
            </a>
          </li>
          
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
              <i class="iconfont icon-dark" id="color-toggle-icon"></i>
            </a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

  

<div id="banner" class="banner" parallax=true
     style="background: url('https://s1.ax1x.com/2023/09/05/pPrb1ot.png') no-repeat center center; background-size: cover;">
  <div class="full-bg-img">
    <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
      <div class="banner-text text-center fade-in-up">
        <div class="h2">
          
            <span id="subtitle" data-typed-text=""></span>
          
        </div>

        
          
  <div class="mt-3">
    
    
      <span class="post-meta">
        <i class="iconfont icon-date-fill" aria-hidden="true"></i>
        <time datetime="2024-04-15 19:49" pubdate>
          2024年4月15日 晚上
        </time>
      </span>
    
  </div>

  <div class="mt-1">
    
      <span class="post-meta mr-2">
        <i class="iconfont icon-chart"></i>
        
          39k 字
        
      </span>
    

    
      <span class="post-meta mr-2">
        <i class="iconfont icon-clock-fill"></i>
        
        
        
          323 分钟
        
      </span>
    

    
    
  </div>


        
      </div>

      
    </div>
  </div>
</div>

</div>

  </header>

  <main>
    
      

<div class="container-fluid nopadding-x">
  <div class="row nomargin-x">
    <div class="side-col d-none d-lg-block col-lg-2">
      

    </div>

    <div class="col-lg-8 nopadding-x-md">
      <div class="container nopadding-x-md" id="board-ctn">
        <div id="board">
          <article class="post-content mx-auto">
            <h1 id="seo-header"></h1>
            
            
              <div class="markdown-body">
                
                <h1 id="个人博客API接口"><a href="#个人博客API接口" class="headerlink" title="个人博客API接口"></a>个人博客API接口</h1><p><strong>简介</strong>:个人博客API接口</p>
<p><strong>HOST</strong>:<a target="_blank" rel="noopener" href="http://s2.mcstory.cc:33905/">http://s2.mcstory.cc:33905</a></p>
<p><strong>Version</strong>:版本号:3.8.7</p>
<p>[TOC]</p>
<h1 id="内容管理"><a href="#内容管理" class="headerlink" title="内容管理"></a>内容管理</h1><h2 id="新增内容管理"><a href="#新增内容管理" class="headerlink" title="新增内容管理"></a>新增内容管理</h2><p><strong>接口地址</strong>:<code>/system/info</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;author&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;classify&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;content&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;id&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;pushTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;title&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>blogInfo</td>
<td>BlogInfo</td>
<td>body</td>
<td>true</td>
<td>BlogInfo</td>
<td>BlogInfo</td>
</tr>
<tr>
<td>&emsp;&emsp;author</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;classify</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;content</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;id</td>
<td></td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;pushTime</td>
<td></td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;title</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="修改内容管理"><a href="#修改内容管理" class="headerlink" title="修改内容管理"></a>修改内容管理</h2><p><strong>接口地址</strong>:<code>/system/info</code></p>
<p><strong>请求方式</strong>:<code>PUT</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;author&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;classify&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;content&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;id&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;pushTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;title&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>blogInfo</td>
<td>BlogInfo</td>
<td>body</td>
<td>true</td>
<td>BlogInfo</td>
<td>BlogInfo</td>
</tr>
<tr>
<td>&emsp;&emsp;author</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;classify</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;content</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;id</td>
<td></td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;pushTime</td>
<td></td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;title</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="导出内容管理列表"><a href="#导出内容管理列表" class="headerlink" title="导出内容管理列表"></a>导出内容管理列表</h2><p><strong>接口地址</strong>:<code>/system/info/export</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>author</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>classify</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>content</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>id</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>pushTime</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>title</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="查询内容管理列表"><a href="#查询内容管理列表" class="headerlink" title="查询内容管理列表"></a>查询内容管理列表</h2><p><strong>接口地址</strong>:<code>/system/info/list</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>author</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>classify</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>content</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>id</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>pushTime</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>title</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td>TableDataInfo</td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>code</td>
<td>消息状态码</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>msg</td>
<td>消息内容</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>rows</td>
<td>列表数据</td>
<td>array</td>
<td></td>
</tr>
<tr>
<td>total</td>
<td>总记录数</td>
<td>integer(int64)</td>
<td>integer(int64)</td>
</tr>
</tbody></table>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>	<span class="hljs-string">&quot;code&quot;</span>: <span class="hljs-number">0</span>,<br>	<span class="hljs-string">&quot;msg&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>	<span class="hljs-string">&quot;rows&quot;</span>: [],<br>	<span class="hljs-string">&quot;total&quot;</span>: <span class="hljs-number">0</span><br>&#125;<br></code></pre></td></tr></table></figure>


<h2 id="删除内容管理"><a href="#删除内容管理" class="headerlink" title="删除内容管理"></a>删除内容管理</h2><p><strong>接口地址</strong>:<code>/system/info/&#123;ids&#125;</code></p>
<p><strong>请求方式</strong>:<code>DELETE</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>ids</td>
<td>ids</td>
<td>path</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>204</td>
<td>No Content</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="获取内容管理详细信息"><a href="#获取内容管理详细信息" class="headerlink" title="获取内容管理详细信息"></a>获取内容管理详细信息</h2><p><strong>接口地址</strong>:<code>/system/info/&#123;id&#125;</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>id</td>
<td>id</td>
<td>path</td>
<td>true</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h1 id="注册验证"><a href="#注册验证" class="headerlink" title="注册验证"></a>注册验证</h1><h2 id="注册用户"><a href="#注册用户" class="headerlink" title="注册用户"></a>注册用户</h2><p><strong>接口地址</strong>:<code>/register</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;code&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;password&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;username&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>registerBody</td>
<td>用户注册对象</td>
<td>body</td>
<td>true</td>
<td>RegisterBody</td>
<td>RegisterBody</td>
</tr>
<tr>
<td>&emsp;&emsp;code</td>
<td>验证码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;password</td>
<td>用户密码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;username</td>
<td>用户名</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;uuid</td>
<td>唯一标识</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h1 id="用户信息管理"><a href="#用户信息管理" class="headerlink" title="用户信息管理"></a>用户信息管理</h1><h2 id="新增用户"><a href="#新增用户" class="headerlink" title="新增用户"></a>新增用户</h2><p><strong>接口地址</strong>:<code>/system/user</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;avatar&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;dept&quot;</span>: &#123;<br>    <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;children&quot;</span>: [<br>      &#123;<br>        <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;children&quot;</span>: [<br>          &#123;&#125;<br>        ],<br>        <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>        <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>      &#125;<br>    ],<br>    <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>    <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>  &#125;,<br>  <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginDate&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginIp&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;nickName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;password&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;phonenumber&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;postIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;roleIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;roles&quot;</span>: [<br>    &#123;<br>      <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;dataScope&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;deptCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;deptIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;flag&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>      <span class="hljs-string">&quot;permissions&quot;</span>: [],<br>      <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;roleKey&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleSort&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>    &#125;<br>  ],<br>  <span class="hljs-string">&quot;sex&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;userId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;userName&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>用户对象</td>
<td>用户对象</td>
<td>body</td>
<td>true</td>
<td>用户对象</td>
<td>用户对象</td>
</tr>
<tr>
<td>&emsp;&emsp;avatar</td>
<td>用户头像</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;delFlag</td>
<td>删除标志 0代表存在 2代表删除</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;dept</td>
<td></td>
<td></td>
<td>false</td>
<td>SysDept</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;ancestors</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;children</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;email</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;leader</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;orderNum</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentName</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;phone</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;deptId</td>
<td>部门ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;email</td>
<td>用户邮箱</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginDate</td>
<td>最后登录时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginIp</td>
<td>最后登录IP</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;nickName</td>
<td>用户昵称</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;password</td>
<td>密码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;phonenumber</td>
<td>手机号码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;postIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;roles</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysRole</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;dataScope</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;flag</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;permissions</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleKey</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleSort</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;sex</td>
<td>用户性别</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;status</td>
<td>帐号状态 0正常 1停用</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userId</td>
<td>用户ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userName</td>
<td>用户账号</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="修改用户"><a href="#修改用户" class="headerlink" title="修改用户"></a>修改用户</h2><p><strong>接口地址</strong>:<code>/system/user</code></p>
<p><strong>请求方式</strong>:<code>PUT</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;avatar&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;dept&quot;</span>: &#123;<br>    <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;children&quot;</span>: [<br>      &#123;<br>        <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;children&quot;</span>: [<br>          &#123;&#125;<br>        ],<br>        <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>        <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>      &#125;<br>    ],<br>    <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>    <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>  &#125;,<br>  <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginDate&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginIp&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;nickName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;password&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;phonenumber&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;postIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;roleIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;roles&quot;</span>: [<br>    &#123;<br>      <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;dataScope&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;deptCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;deptIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;flag&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>      <span class="hljs-string">&quot;permissions&quot;</span>: [],<br>      <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;roleKey&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleSort&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>    &#125;<br>  ],<br>  <span class="hljs-string">&quot;sex&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;userId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;userName&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>用户对象</td>
<td>用户对象</td>
<td>body</td>
<td>true</td>
<td>用户对象</td>
<td>用户对象</td>
</tr>
<tr>
<td>&emsp;&emsp;avatar</td>
<td>用户头像</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;delFlag</td>
<td>删除标志 0代表存在 2代表删除</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;dept</td>
<td></td>
<td></td>
<td>false</td>
<td>SysDept</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;ancestors</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;children</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;email</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;leader</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;orderNum</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentName</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;phone</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;deptId</td>
<td>部门ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;email</td>
<td>用户邮箱</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginDate</td>
<td>最后登录时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginIp</td>
<td>最后登录IP</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;nickName</td>
<td>用户昵称</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;password</td>
<td>密码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;phonenumber</td>
<td>手机号码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;postIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;roles</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysRole</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;dataScope</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;flag</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;permissions</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleKey</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleSort</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;sex</td>
<td>用户性别</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;status</td>
<td>帐号状态 0正常 1停用</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userId</td>
<td>用户ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userName</td>
<td>用户账号</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="根据用户编号获取详细信息"><a href="#根据用户编号获取详细信息" class="headerlink" title="根据用户编号获取详细信息"></a>根据用户编号获取详细信息</h2><p><strong>接口地址</strong>:<code>/system/user/</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>userId</td>
<td>userId</td>
<td>path</td>
<td>true</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="用户授权角色"><a href="#用户授权角色" class="headerlink" title="用户授权角色"></a>用户授权角色</h2><p><strong>接口地址</strong>:<code>/system/user/authRole</code></p>
<p><strong>请求方式</strong>:<code>PUT</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>userId</td>
<td>userId</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>roleIds</td>
<td>roleIds</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="根据用户编号获取授权角色"><a href="#根据用户编号获取授权角色" class="headerlink" title="根据用户编号获取授权角色"></a>根据用户编号获取授权角色</h2><p><strong>接口地址</strong>:<code>/system/user/authRole/&#123;userId&#125;</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>userId</td>
<td>userId</td>
<td>path</td>
<td>true</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="状态修改"><a href="#状态修改" class="headerlink" title="状态修改"></a>状态修改</h2><p><strong>接口地址</strong>:<code>/system/user/changeStatus</code></p>
<p><strong>请求方式</strong>:<code>PUT</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;avatar&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;dept&quot;</span>: &#123;<br>    <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;children&quot;</span>: [<br>      &#123;<br>        <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;children&quot;</span>: [<br>          &#123;&#125;<br>        ],<br>        <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>        <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>      &#125;<br>    ],<br>    <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>    <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>  &#125;,<br>  <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginDate&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginIp&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;nickName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;password&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;phonenumber&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;postIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;roleIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;roles&quot;</span>: [<br>    &#123;<br>      <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;dataScope&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;deptCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;deptIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;flag&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>      <span class="hljs-string">&quot;permissions&quot;</span>: [],<br>      <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;roleKey&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleSort&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>    &#125;<br>  ],<br>  <span class="hljs-string">&quot;sex&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;userId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;userName&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>用户对象</td>
<td>用户对象</td>
<td>body</td>
<td>true</td>
<td>用户对象</td>
<td>用户对象</td>
</tr>
<tr>
<td>&emsp;&emsp;avatar</td>
<td>用户头像</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;delFlag</td>
<td>删除标志 0代表存在 2代表删除</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;dept</td>
<td></td>
<td></td>
<td>false</td>
<td>SysDept</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;ancestors</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;children</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;email</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;leader</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;orderNum</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentName</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;phone</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;deptId</td>
<td>部门ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;email</td>
<td>用户邮箱</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginDate</td>
<td>最后登录时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginIp</td>
<td>最后登录IP</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;nickName</td>
<td>用户昵称</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;password</td>
<td>密码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;phonenumber</td>
<td>手机号码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;postIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;roles</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysRole</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;dataScope</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;flag</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;permissions</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleKey</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleSort</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;sex</td>
<td>用户性别</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;status</td>
<td>帐号状态 0正常 1停用</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userId</td>
<td>用户ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userName</td>
<td>用户账号</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="获取部门树列表"><a href="#获取部门树列表" class="headerlink" title="获取部门树列表"></a>获取部门树列表</h2><p><strong>接口地址</strong>:<code>/system/user/deptTree</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>deptName</td>
<td></td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>orderNum</td>
<td></td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
<td></td>
</tr>
<tr>
<td>ancestors</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>delFlag</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>deptId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>email</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>leader</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>parentId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>parentName</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>phone</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>status</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="导出用户列表"><a href="#导出用户列表" class="headerlink" title="导出用户列表"></a>导出用户列表</h2><p><strong>接口地址</strong>:<code>/system/user/export</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>dept.deptName</td>
<td></td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.orderNum</td>
<td></td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleKey</td>
<td></td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleName</td>
<td></td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleSort</td>
<td></td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
<td></td>
</tr>
<tr>
<td>userName</td>
<td>用户账号</td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>admin</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>avatar</td>
<td>用户头像</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>delFlag</td>
<td>删除标志 0代表存在 2代表删除</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.ancestors</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>dept.delFlag</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.deptId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>dept.email</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.leader</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>dept.parentId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>dept.parentName</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.phone</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.status</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>deptId</td>
<td>部门ID</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>email</td>
<td>用户邮箱</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>loginDate</td>
<td>最后登录时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>loginIp</td>
<td>最后登录IP</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>nickName</td>
<td>用户昵称</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>password</td>
<td>密码</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>phonenumber</td>
<td>手机号码</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>postIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roleId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>roleIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>roles[0].admin</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>roles[0].dataScope</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].delFlag</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].deptCheckStrictly</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].deptIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>roles[0].flag</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].menuCheckStrictly</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].menuIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>roles[0].params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>roles[0].permissions</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>string</td>
</tr>
<tr>
<td>roles[0].remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>roles[0].searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].status</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>sex</td>
<td>用户性别</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>status</td>
<td>帐号状态 0正常 1停用</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>userId</td>
<td>用户ID</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="导入用户列表"><a href="#导入用户列表" class="headerlink" title="导入用户列表"></a>导入用户列表</h2><p><strong>接口地址</strong>:<code>/system/user/importData</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json,application/octet-stream</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>updateSupport</td>
<td>updateSupport</td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="导出用户模板"><a href="#导出用户模板" class="headerlink" title="导出用户模板"></a>导出用户模板</h2><p><strong>接口地址</strong>:<code>/system/user/importTemplate</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<p>暂无</p>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="获取用户列表"><a href="#获取用户列表" class="headerlink" title="获取用户列表"></a>获取用户列表</h2><p><strong>接口地址</strong>:<code>/system/user/list</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>dept.deptName</td>
<td></td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.orderNum</td>
<td></td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleKey</td>
<td></td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleName</td>
<td></td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleSort</td>
<td></td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
<td></td>
</tr>
<tr>
<td>userName</td>
<td>用户账号</td>
<td>query</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>admin</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>avatar</td>
<td>用户头像</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>delFlag</td>
<td>删除标志 0代表存在 2代表删除</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.ancestors</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>dept.delFlag</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.deptId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>dept.email</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.leader</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>dept.parentId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>dept.parentName</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.phone</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.status</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>dept.updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>deptId</td>
<td>部门ID</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>email</td>
<td>用户邮箱</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>loginDate</td>
<td>最后登录时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>loginIp</td>
<td>最后登录IP</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>nickName</td>
<td>用户昵称</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>password</td>
<td>密码</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>phonenumber</td>
<td>手机号码</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>postIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roleId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>roleIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>roles[0].admin</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>roles[0].dataScope</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].delFlag</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].deptCheckStrictly</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].deptIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>roles[0].flag</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].menuCheckStrictly</td>
<td></td>
<td>query</td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>roles[0].menuIds</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>roles[0].params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>roles[0].permissions</td>
<td></td>
<td>query</td>
<td>false</td>
<td>array</td>
<td>string</td>
</tr>
<tr>
<td>roles[0].remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].roleId</td>
<td></td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>roles[0].searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].status</td>
<td></td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>roles[0].updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>sex</td>
<td>用户性别</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>status</td>
<td>帐号状态 0正常 1停用</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>userId</td>
<td>用户ID</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td>TableDataInfo</td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>code</td>
<td>消息状态码</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>msg</td>
<td>消息内容</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>rows</td>
<td>列表数据</td>
<td>array</td>
<td></td>
</tr>
<tr>
<td>total</td>
<td>总记录数</td>
<td>integer(int64)</td>
<td>integer(int64)</td>
</tr>
</tbody></table>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>	<span class="hljs-string">&quot;code&quot;</span>: <span class="hljs-number">0</span>,<br>	<span class="hljs-string">&quot;msg&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>	<span class="hljs-string">&quot;rows&quot;</span>: [],<br>	<span class="hljs-string">&quot;total&quot;</span>: <span class="hljs-number">0</span><br>&#125;<br></code></pre></td></tr></table></figure>


<h2 id="重置密码"><a href="#重置密码" class="headerlink" title="重置密码"></a>重置密码</h2><p><strong>接口地址</strong>:<code>/system/user/resetPwd</code></p>
<p><strong>请求方式</strong>:<code>PUT</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;avatar&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;dept&quot;</span>: &#123;<br>    <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;children&quot;</span>: [<br>      &#123;<br>        <span class="hljs-string">&quot;ancestors&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;children&quot;</span>: [<br>          &#123;&#125;<br>        ],<br>        <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>        <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>        <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>        <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>      &#125;<br>    ],<br>    <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;deptName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;leader&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;orderNum&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>    <span class="hljs-string">&quot;parentId&quot;</span>: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">&quot;parentName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;phone&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>    <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>  &#125;,<br>  <span class="hljs-string">&quot;deptId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;email&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginDate&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;loginIp&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;nickName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;password&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;phonenumber&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;postIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;roleIds&quot;</span>: [],<br>  <span class="hljs-string">&quot;roles&quot;</span>: [<br>    &#123;<br>      <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;dataScope&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;delFlag&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;deptCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;deptIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;flag&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuCheckStrictly&quot;</span>: <span class="hljs-literal">true</span>,<br>      <span class="hljs-string">&quot;menuIds&quot;</span>: [],<br>      <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>      <span class="hljs-string">&quot;permissions&quot;</span>: [],<br>      <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleId&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;roleKey&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleName&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;roleSort&quot;</span>: <span class="hljs-number">0</span>,<br>      <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>      <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>    &#125;<br>  ],<br>  <span class="hljs-string">&quot;sex&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;userId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;userName&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>用户对象</td>
<td>用户对象</td>
<td>body</td>
<td>true</td>
<td>用户对象</td>
<td>用户对象</td>
</tr>
<tr>
<td>&emsp;&emsp;avatar</td>
<td>用户头像</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;delFlag</td>
<td>删除标志 0代表存在 2代表删除</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;dept</td>
<td></td>
<td></td>
<td>false</td>
<td>SysDept</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;ancestors</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;children</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysDept</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;email</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;leader</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;orderNum</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;parentName</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;phone</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;deptId</td>
<td>部门ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;email</td>
<td>用户邮箱</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginDate</td>
<td>最后登录时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;loginIp</td>
<td>最后登录IP</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;nickName</td>
<td>用户昵称</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;password</td>
<td>密码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;phonenumber</td>
<td>手机号码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;postIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;roleIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>&emsp;&emsp;roles</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>SysRole</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;dataScope</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;delFlag</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;deptIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;flag</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuCheckStrictly</td>
<td></td>
<td></td>
<td>false</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;menuIds</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>integer</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;permissions</td>
<td></td>
<td></td>
<td>false</td>
<td>array</td>
<td>string</td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleId</td>
<td></td>
<td></td>
<td>false</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleKey</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleName</td>
<td></td>
<td></td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;roleSort</td>
<td></td>
<td></td>
<td>true</td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;status</td>
<td></td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;sex</td>
<td>用户性别</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;status</td>
<td>帐号状态 0正常 1停用</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userId</td>
<td>用户ID</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;userName</td>
<td>用户账号</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="删除用户"><a href="#删除用户" class="headerlink" title="删除用户"></a>删除用户</h2><p><strong>接口地址</strong>:<code>/system/user/&#123;userIds&#125;</code></p>
<p><strong>请求方式</strong>:<code>DELETE</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>userIds</td>
<td>userIds</td>
<td>path</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>204</td>
<td>No Content</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="根据用户编号获取详细信息-1"><a href="#根据用户编号获取详细信息-1" class="headerlink" title="根据用户编号获取详细信息"></a>根据用户编号获取详细信息</h2><p><strong>接口地址</strong>:<code>/system/user/&#123;userId&#125;</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>userId</td>
<td>userId</td>
<td>path</td>
<td>true</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h1 id="登录验证"><a href="#登录验证" class="headerlink" title="登录验证"></a>登录验证</h1><h2 id="获取用户信息"><a href="#获取用户信息" class="headerlink" title="获取用户信息"></a>获取用户信息</h2><p><strong>接口地址</strong>:<code>/getInfo</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<p>暂无</p>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="获取路由信息"><a href="#获取路由信息" class="headerlink" title="获取路由信息"></a>获取路由信息</h2><p><strong>接口地址</strong>:<code>/getRouters</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<p>暂无</p>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="登录方法"><a href="#登录方法" class="headerlink" title="登录方法"></a>登录方法</h2><p><strong>接口地址</strong>:<code>/login</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;code&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;password&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;username&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;uuid&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>loginBody</td>
<td>用户登录对象</td>
<td>body</td>
<td>true</td>
<td>LoginBody</td>
<td>LoginBody</td>
</tr>
<tr>
<td>&emsp;&emsp;code</td>
<td>验证码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;password</td>
<td>用户密码</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;username</td>
<td>用户名</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;uuid</td>
<td>唯一标识</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h1 id="评论管理"><a href="#评论管理" class="headerlink" title="评论管理"></a>评论管理</h1><h2 id="新增评论管理"><a href="#新增评论管理" class="headerlink" title="新增评论管理"></a>新增评论管理</h2><p><strong>接口地址</strong>:<code>/system/comments</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;blogId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;comments&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;id&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;publisher&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;pushTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>blogComments</td>
<td>评论管理对象</td>
<td>body</td>
<td>true</td>
<td>BlogComments</td>
<td>BlogComments</td>
</tr>
<tr>
<td>&emsp;&emsp;blogId</td>
<td>博客编号</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;comments</td>
<td>评论内容</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;id</td>
<td>评论编号</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;publisher</td>
<td>评论者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;pushTime</td>
<td>评论发布时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="修改评论管理"><a href="#修改评论管理" class="headerlink" title="修改评论管理"></a>修改评论管理</h2><p><strong>接口地址</strong>:<code>/system/comments</code></p>
<p><strong>请求方式</strong>:<code>PUT</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded,application/json</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>  <span class="hljs-string">&quot;blogId&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;comments&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;createTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;id&quot;</span>: <span class="hljs-number">0</span>,<br>  <span class="hljs-string">&quot;params&quot;</span>: &#123;&#125;,<br>  <span class="hljs-string">&quot;publisher&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;pushTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;remark&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateBy&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>  <span class="hljs-string">&quot;updateTime&quot;</span>: <span class="hljs-string">&quot;&quot;</span><br>&#125;<br></code></pre></td></tr></table></figure>


<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>blogComments</td>
<td>评论管理对象</td>
<td>body</td>
<td>true</td>
<td>BlogComments</td>
<td>BlogComments</td>
</tr>
<tr>
<td>&emsp;&emsp;blogId</td>
<td>博客编号</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;comments</td>
<td>评论内容</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createBy</td>
<td>创建者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;createTime</td>
<td>创建时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;id</td>
<td>评论编号</td>
<td></td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;params</td>
<td>请求参数</td>
<td></td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;publisher</td>
<td>评论者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;pushTime</td>
<td>评论发布时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;remark</td>
<td>备注</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateBy</td>
<td>更新者</td>
<td></td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>&emsp;&emsp;updateTime</td>
<td>更新时间</td>
<td></td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="导出评论管理列表"><a href="#导出评论管理列表" class="headerlink" title="导出评论管理列表"></a>导出评论管理列表</h2><p><strong>接口地址</strong>:<code>/system/comments/export</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>blogId</td>
<td>博客编号</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>comments</td>
<td>评论内容</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>id</td>
<td>评论编号</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>publisher</td>
<td>评论者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>pushTime</td>
<td>评论发布时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="查询评论管理列表"><a href="#查询评论管理列表" class="headerlink" title="查询评论管理列表"></a>查询评论管理列表</h2><p><strong>接口地址</strong>:<code>/system/comments/list</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>blogId</td>
<td>博客编号</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>comments</td>
<td>评论内容</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createBy</td>
<td>创建者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>createTime</td>
<td>创建时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>id</td>
<td>评论编号</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td></td>
</tr>
<tr>
<td>params</td>
<td>请求参数</td>
<td>query</td>
<td>false</td>
<td>object</td>
<td></td>
</tr>
<tr>
<td>publisher</td>
<td>评论者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>pushTime</td>
<td>评论发布时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
<tr>
<td>remark</td>
<td>备注</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>searchValue</td>
<td>搜索值</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateBy</td>
<td>更新者</td>
<td>query</td>
<td>false</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>updateTime</td>
<td>更新时间</td>
<td>query</td>
<td>false</td>
<td>string(date-time)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td>TableDataInfo</td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>code</td>
<td>消息状态码</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>msg</td>
<td>消息内容</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>rows</td>
<td>列表数据</td>
<td>array</td>
<td></td>
</tr>
<tr>
<td>total</td>
<td>总记录数</td>
<td>integer(int64)</td>
<td>integer(int64)</td>
</tr>
</tbody></table>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><code class="hljs javascript">&#123;<br>	<span class="hljs-string">&quot;code&quot;</span>: <span class="hljs-number">0</span>,<br>	<span class="hljs-string">&quot;msg&quot;</span>: <span class="hljs-string">&quot;&quot;</span>,<br>	<span class="hljs-string">&quot;rows&quot;</span>: [],<br>	<span class="hljs-string">&quot;total&quot;</span>: <span class="hljs-number">0</span><br>&#125;<br></code></pre></td></tr></table></figure>


<h2 id="删除评论管理"><a href="#删除评论管理" class="headerlink" title="删除评论管理"></a>删除评论管理</h2><p><strong>接口地址</strong>:<code>/system/comments/&#123;ids&#125;</code></p>
<p><strong>请求方式</strong>:<code>DELETE</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>ids</td>
<td>ids</td>
<td>path</td>
<td>true</td>
<td>string</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>204</td>
<td>No Content</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h2 id="获取评论管理详细信息"><a href="#获取评论管理详细信息" class="headerlink" title="获取评论管理详细信息"></a>获取评论管理详细信息</h2><p><strong>接口地址</strong>:<code>/system/comments/&#123;id&#125;</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>id</td>
<td>id</td>
<td>path</td>
<td>true</td>
<td>integer(int64)</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>


<h1 id="验证码操作处理"><a href="#验证码操作处理" class="headerlink" title="验证码操作处理"></a>验证码操作处理</h1><h2 id="生成验证码"><a href="#生成验证码" class="headerlink" title="生成验证码"></a>生成验证码</h2><p><strong>接口地址</strong>:<code>/captchaImage</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<p>暂无</p>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody><tr>
<td>200</td>
<td>OK</td>
<td></td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
<td></td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
<td></td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
<td></td>
</tr>
</tbody></table>
<p><strong>响应参数</strong>:</p>
<p>暂无</p>
<p><strong>响应示例</strong>:</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs javascript"><br></code></pre></td></tr></table></figure>
                
              </div>
            
            <hr/>
            <div>
              <div class="post-metas my-3">
  
  
</div>


              
  

  <div class="license-box my-3">
    <div class="license-title">
      <div></div>
      <div>https://ray_hughes.gitee.io/fx-blog/2024/04/16/博客API/</div>
    </div>
    <div class="license-meta">
      
        <div class="license-meta-item">
          <div>作者</div>
          <div>Ray_Hughes</div>
        </div>
      
      
        <div class="license-meta-item license-meta-date">
          <div>发布于</div>
          <div>2024年4月15日</div>
        </div>
      
      
      
        <div class="license-meta-item">
          <div>许可协议</div>
          <div>
            
              
              
                <a class="print-no-link" target="_blank" href="https://creativecommons.org/licenses/by/4.0/">
                  <span class="hint--top hint--rounded" aria-label="BY - 署名">
                    <i class="iconfont icon-by"></i>
                  </span>
                </a>
              
            
          </div>
        </div>
      
    </div>
    <div class="license-icon iconfont"></div>
  </div>



              
                <div class="post-prevnext my-3">
                  <article class="post-prev col-6">
                    
                    
                  </article>
                  <article class="post-next col-6">
                    
                    
                      <a href="/fx-blog/2023/10/08/hello-world/" title="Hello World">
                        <span class="hidden-mobile">Hello World</span>
                        <span class="visible-mobile">下一篇</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </article>
                </div>
              
            </div>

            
  
  
    <article id="comments" lazyload>
      
  <div id="twikoo"></div>
  <script type="text/javascript">
    Fluid.utils.loadComments('#comments', function() {
      Fluid.utils.createScript('https://lib.baomitu.com/twikoo/1.6.8/twikoo.all.min.js', function() {
        var options = Object.assign(
          {"envId":"https://twikoo.bingzi.online","region":"ap-shanghai","path":"window.location.pathname"},
          {
            el: '#twikoo',
            path: 'window.location.pathname',
            onCommentLoaded: function() {
              Fluid.utils.listenDOMLoaded(function() {
                var imgSelector = '#twikoo .tk-content img:not(.tk-owo-emotion)';
                Fluid.plugins.imageCaption(imgSelector);
                Fluid.plugins.fancyBox(imgSelector);
              });
            }
          }
        )
        twikoo.init(options)
      });
    });
  </script>
  <noscript>Please enable JavaScript to view the comments</noscript>


    </article>
  


          </article>
        </div>
      </div>
    </div>

    <div class="side-col d-none d-lg-block col-lg-2">
      
  <aside class="sidebar" style="margin-left: -1rem">
    <div id="toc">
  <p class="toc-header">
    <i class="iconfont icon-list"></i>
    <span>目录</span>
  </p>
  <div class="toc-body" id="toc-body"></div>
</div>



  </aside>


    </div>
  </div>
</div>





  



  



  



  



  







    

    
      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v" for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>

    

    
  </main>

  <footer>
    <div class="footer-inner">
  
    <div class="footer-content">
       <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> 
    </div>
  
  
  
  
</div>

  </footer>

  <!-- Scripts -->
  
  <script  src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://lib.baomitu.com/jquery/3.6.4/jquery.min.js" ></script>
<script  src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
<script  src="/fx-blog/js/events.js" ></script>
<script  src="/fx-blog/js/plugins.js" ></script>


  <script  src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var subtitle = document.getElementById('subtitle');
      if (!subtitle || !typing) {
        return;
      }
      var text = subtitle.getAttribute('data-typed-text');
      
        typing(text);
      
    })(window, document);
  </script>




  
    <script  src="/fx-blog/js/img-lazyload.js" ></script>
  




  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/tocbot/4.20.1/tocbot.min.js', function() {
    var toc = jQuery('#toc');
    if (toc.length === 0 || !window.tocbot) { return; }
    var boardCtn = jQuery('#board-ctn');
    var boardTop = boardCtn.offset().top;

    window.tocbot.init(Object.assign({
      tocSelector     : '#toc-body',
      contentSelector : '.markdown-body',
      linkClass       : 'tocbot-link',
      activeLinkClass : 'tocbot-active-link',
      listClass       : 'tocbot-list',
      isCollapsedClass: 'tocbot-is-collapsed',
      collapsibleClass: 'tocbot-is-collapsible',
      scrollSmooth    : true,
      includeTitleTags: true,
      headingsOffset  : -boardTop,
    }, CONFIG.toc));
    if (toc.find('.toc-list-item').length > 0) {
      toc.css('visibility', 'visible');
    }

    Fluid.events.registerRefreshCallback(function() {
      if ('tocbot' in window) {
        tocbot.refresh();
        var toc = jQuery('#toc');
        if (toc.length === 0 || !tocbot) {
          return;
        }
        if (toc.find('.toc-list-item').length > 0) {
          toc.css('visibility', 'visible');
        }
      }
    });
  });
</script>


  <script src=https://lib.baomitu.com/clipboard.js/2.0.11/clipboard.min.js></script>

  <script>Fluid.plugins.codeWidget();</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/anchor-js/4.3.1/anchor.min.js', function() {
    window.anchors.options = {
      placement: CONFIG.anchorjs.placement,
      visible  : CONFIG.anchorjs.visible
    };
    if (CONFIG.anchorjs.icon) {
      window.anchors.options.icon = CONFIG.anchorjs.icon;
    }
    var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
    var res = [];
    for (var item of el) {
      res.push('.markdown-body > ' + item.trim());
    }
    if (CONFIG.anchorjs.placement === 'left') {
      window.anchors.options.class = 'anchorjs-link-left';
    }
    window.anchors.add(res.join(', '));

    Fluid.events.registerRefreshCallback(function() {
      if ('anchors' in window) {
        anchors.removeAll();
        var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
        var res = [];
        for (var item of el) {
          res.push('.markdown-body > ' + item.trim());
        }
        if (CONFIG.anchorjs.placement === 'left') {
          anchors.options.class = 'anchorjs-link-left';
        }
        anchors.add(res.join(', '));
      }
    });
  });
</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.js', function() {
    Fluid.plugins.fancyBox();
  });
</script>


  <script>Fluid.plugins.imageCaption();</script>

  <script  src="/fx-blog/js/local-search.js" ></script>





<!-- 主题的启动项，将它保持在最底部 -->
<!-- the boot of the theme, keep it at the bottom -->
<script  src="/fx-blog/js/boot.js" ></script>


  

  <noscript>
    <div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div>
  </noscript>
</body>
</html>
